package cn.krui.project.bean.simpleshopsetting;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import javax.validation.constraints.NotNull;
/**
 * createor: zc
 * email: zc8023zs@163.com
 * create_time: 2020/4/8 16:37:49
 * 分离出查询实体
 */
@ApiModel(value = "qr_attribute_category", description = "商品属性种类")
@TableName(value = "qr_attribute_category")
public class attribute_category_view {
	@ApiModelProperty(value = "主键")
	@TableId(type = IdType.AUTO,value = "id")
	@NotNull(message = "主键不能为空")
	private Integer id;
	@ApiModelProperty(value = "名称")
	@TableField(value="name")
	private String name;
	@ApiModelProperty(value = "是否可用:开启=1 关闭=0")
	@TableField(value="enabled")
	private Long enabled;

 
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
 
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
 
	public Long getEnabled() {
		return enabled;
	}
	public void setEnabled(Long enabled) {
		this.enabled = enabled;
	}

}